import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { piniaStore } from '@/store'

// 全局引入按需引入UI库 vant
import 'vant/lib/index.css'
// 引入全局样式
import '@/assets/scss/index.scss'
import components, { vantPlugins } from './plugins'
//svg插件在主文件内需要的配置代码
import 'virtual:svg-icons-register'

const app = createApp(App)
app.use(components)
app.use(piniaStore)
app.use(vantPlugins)
app.use(router)
app.mount('#app')
